@include('admin::layouts.header')
<div class="admin-main layui-anim layui-anim-upbit">
    <div class="table-responsive">
        <table class="layui-table" lay-even lay-skin="line">
            <colgroup>
                <col width="40%">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th class="text-center" colspan="2">系统信息</th>
            </tr>
            </thead>
            <tbody>			
			<tr>                
				<td>当前管理员</td>                
				<td>{{\Auth::guard("admin")->user()->username}}					
					<a href="{{route('admin.index.upadte_pwd_view')}}" style="margin-left:20px" class="layui-btn layui-btn-warm layui-btn-radius">修改密码</a>				
				</td>            
			</tr>
            <tr>
                <td>网站域名</td>
                <td>{{getHttpType()}}</td>
            </tr>
            <tr>
                <td>网站目录</td>
                <td>{{app_path()}}</td>
            </tr>
            <tr>
                <td>服务器操作系统</td>
                <td>{{PHP_OS}}</td>
            </tr>
            <tr>
                <td>服务器端口</td>
                <td>{{$_SERVER['SERVER_PORT']}}</td>
            </tr>
            <tr>
                <td>服务器IP</td>
                <td>{{ $_SERVER['SERVER_ADDR'] }}</td>
            </tr>
            <tr>
                <td>WEB运行环境</td>
                <td>{{$_SERVER ['SERVER_SOFTWARE']}}</td>
            </tr>
            <tr>
                <td>运行PHP版本</td>
                <td>{{PHP_VERSION }}</td>
            </tr>
			<tr>
                <td>运行MySQL版本</td>
                <td>{{mysql_v()}}</td>
            </tr>
            <tr>
                <td>最大上传限制</td>
                <td>{{get_config_var()}}</td>
            </tr>
            <tr>
                <td>Laravel版本</td>
                <td>{{laravel_version()}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
@include('admin::layouts.footer')
<script>
    layui.use('table', function() {
        var table = layui.table;
    })
</script>
</body>
</html>